﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GaSaiGon.GUI
{
    public partial class A : Form
    {
        public A()
        {
            InitializeComponent();
            this.button1.Click += new EventHandler(button1_Click);

        }

        void button1_Click(object sender, EventArgs e)
        {
            B tauit = new B();
            tauit.sender = new B.SEND(getString);
            tauit.ShowDialog();
        }
        public void getString(string s)
        {
            this.label1.Text = s;
        }

        private void button1_Click_1(object sender, EventArgs e)
        {

        }
    }
}
